<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:96:"D:\phpStudy2018\PHPTutorial\WWW\xbs22\supermarket\public/../application/index\view\my\user_list.html";i:1540199876;s:84:"D:\phpStudy2018\PHPTutorial\WWW\xbs22\supermarket\application\index\view\layout.html";i:1540197846;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>超市 </title>
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="icon" type="image/png" href="/static/images/favicon.png">
	<link href="/static/css/amazeui.min.css" rel="stylesheet" type="text/css" />
	<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
	<script src="/static/js/jquery-1.10.2.min.js"></script>
	<script src="/static/js/time.js"></script>
	<script src="/static/js/popup.mini.js"></script>
	<link rel="stylesheet" href="/static/layui/css/layui.css" />
	<script src="/static/layui/layui.js"></script>
</head>
<body style="background: #f6f6f6;">

<header data-am-widget="header" class="am-header am-header-default sq-head ">
	<h1 class="am-header-title">
		<a href="" class="">个人中心</a>
	</h1>
</header>
<div style="height: 49px;"></div>
<div class="member">
	<div class="mem-tit" style="padding-bottom: 10px">
		<a href="<?php echo url('index/Set/index'); ?>" class="step"><img src="/static/images/step.png" width="26"/></a>
	</div>
	<?php if(session('uid')): ?>
	<div class="mem-pic" style="padding-bottom: 20px">
		<img style="width:100px;height:100px;margin-left: 30%" src="/<?php echo session('face'); ?>" alt="">
	</div>
	<div class="mem-pic">
		<span style="margin-left: 45%"><?php echo session('username'); ?></span>
	</div>
	<?php else: ?>
	<div class="mem-pic" style="padding-bottom: 20px">
		<div class="mem-pic-bg" style="background-image: url(images/memtx.png);"></div>
	</div>
	<div class="mem-pic">
		<a href="<?php echo url('index/Login/index'); ?>">
			<button class="layui-btn layui-btn-warm ">登陆</button>
		</a>
		<a href="<?php echo url('index/Reg/index'); ?>">
			<button class="layui-btn layui-btn-warm " style="margin-left: 60px">注册</button>
		</a>
	</div>
	<?php endif; ?>

	<ul class="member-menu">
		<li>
			<a href="records.html">
				<p class="yellow"><?php echo session('uid') ? $data['moeny'] : 0.00; ?></p>
				<p class="black">帐户余额 </p>
			</a>
		</li>
		<li>
			<a href="integral.html">
				<p class="yellow"><?php echo session('uid') ? $data['integral'] : 0; ?></p>
				<p class="black">积分 </p>
			</a>
		</li>
		<li>
			<a href="yhq.html">
				<p class="yellow">0</p>
				<p class="black">优惠劵 </p>
			</a>
		</li>
		<li>
			<a href="collect.html">
				<p class="yellow">0</p>
				<p class="black">我的收藏 </p>
			</a>
		</li>
	</ul>
</div>
<div class="user-list">
	<div class="u-list-main">
		<img src="/static/images/order-pic.png" width="27"/>
		<span>我的购物订单</span>
		<a href="allorder.html">查看全部订单></a>
	</div>
	<ul class="user-nav">
		<li><a href="allorder.html"> <img src="/static/images/1-icon.png">
			<p>待付款</p></a></li>
		<li><a href="allorder.html"> <img src="/static/images/1-icon1.png">
			<p>待收货</p></a></li>
		<li><a href="allorder.html"> <img src="/static/images/1-icon2.png">
			<p>待评价</p></a></li>
		<li><a href="allorder.html"> <img src="/static/images/1-icon3.png">
			<p>退换货</p></a></li>
	</ul>
	<div class="u-list-main">
		<img src="/static/images/order-my.png" width="27"/>
		<span>帐户与安全</span>
	</div>
	<ul class="user-nav">
		<li><a href="<?php echo url('index/Edit/index'); ?>"> <img src="/static/images/1-icon4.png">
			<p>个人资料</p></a></li>
		<li><a href="<?php echo url('index/ReapRess/index'); ?>"> <img src="/static/images/1-icon5.png">
			<p>收货地址</p></a></li>
		<li><a href="<?php echo url('index/SafetySet/index'); ?>"> <img src="/static/images/1-icon6.png">
			<p>安全设置</p></a></li>
		<li><a href="money.html"> <img src="/static/images/1-icon7.png">
			<p>我的钱包</p></a></li>
	</ul>
</div>
<!--导航-->
<ul class="sq-nav"
	style=" background: #fff; margin-top: 1rem; border-top: 1px solid #ddd;  border-bottom: 1px solid #ddd;">
	<li>
		<div class="am-gallery-item">
			<a href="job.html" class="">
				<img src="/static/images/m_03.png"/>
				<p>我要兼职</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="recommend.html" class="">
				<img src="/static/images/m_04.png"/>
				<p>推荐有奖</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="myrecommend.html" class="">
				<img src="/static/images/m_05.png"/>
				<p>我的推荐</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="" class="">
				<img src="/static/images/m_06.png"/>
				<p>我的佣金</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="yhq.html" class="">
				<img src="/static/images/m_02.png"/>
				<p>我的红包</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="message.html" class="">
				<img src="/static/images/m_07.png"/>
				<p>我的动态</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="javascript:;" class="index-qd">
				<img src="/static/images/m_08.png"/>
				<p>客服中心</p>
			</a>
		</div>
	</li>
	<li>
		<div class="am-gallery-item">
			<a href="<?php echo url('index/Login/loginOut'); ?>" class="">
				<img src="/static/images/m_09.png"/>
				<p>安全退出</p>
			</a>
		</div>
	</li>
</ul>
<!--客服中心-->
<div class="qd-box">
	<div class="popup-title">
		<span>客服中心</span>
		<div class="popup-close">
			<i class="iconfont">&#xe602</i></div>
	</div>
	<div class="dq-text">
		<a href="http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes">
			<img src="/static/images/contactqq.png" width="50"/>
			<p class="contactqq">联系QQ</p>
		</a>
		<a href="tel:0791-12345678">
			<img src="/static/images/contacttele.png" width="50"/>
			<p class="contacttele">呼叫电话</p>
		</a>
	</div>
</div>
<!--客服中心-->
<!--底部-->
<script type='text/javascript'>
    (function () {
        new PopUp_api({el: '.index-qd', html: '.qd-box'});
    })()
</script>

<div style="height: 55px;"></div>
<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default sq-foot am-no-layout" id="">
	<ul class="am-navbar-nav am-cf am-avg-sm-5">
		<li>
			<a href="<?php echo url('index/Index/index'); ?>" class="<?php echo request()->controller()=='Index' ? 'curr':''; ?>">
				<span class="am-icon-home"></span>
				<span class="am-navbar-label">首页</span>
			</a>
		</li>
		<li>
			<a href="message.html" class="">
				<span class="am-icon-comments"></span>
				<span class="am-navbar-label">动态</span>
			</a>
		</li>
		<li>
			<a href="<?php echo url('index/ShopingCar/index'); ?>" class="<?php echo request()->controller()=='ShopingCar' ? 'curr':''; ?>">
				<span class="am-icon-shopping-cart"></span>
				<span class="am-navbar-label">购物车</span>
			</a>
		</li>
		<li>
			<a href="allorder.html" class="">
				<span class="am-icon-file-text"></span>
				<span class="am-navbar-label">订单</span>
			</a>
		</li>

		<li>
			<a href="<?php echo url('index/My/index'); ?>" class="<?php echo request()->controller()=='My' ? 'curr':''; ?>">
				<span class="am-icon-user"></span>
				<span class="am-navbar-label">我的</span>
			</a>
		</li>
	</ul>
</div>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/amazeui.min.js"></script>
</body>
</html>